import time
class Mylogin():
    def __init__(self, driver):
        self.driver = driver

    def login(self):
        # self.driver.find_element_by_link_text("登录").click()
        # time.sleep(2)
        self.driver.find_element_by_name("username").send_keys("15129146931")
        self.driver.find_element_by_name("password").send_keys("123456")
        self.driver.find_element_by_xpath("//button[@type='button']/span").click()
        time.sleep(5)





            
            


            
    